﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000381 RID: 897
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DAJHFPCHDMM : IMessage<DAJHFPCHDMM>, IMessage, IEquatable<DAJHFPCHDMM>, IDeepCloneable<DAJHFPCHDMM>, IBufferMessage
	{
		// Token: 0x17000B94 RID: 2964
		// (get) Token: 0x0600283D RID: 10301 RVA: 0x00070248 File Offset: 0x0006E448
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DAJHFPCHDMM> Parser
		{
			get
			{
				return DAJHFPCHDMM._parser;
			}
		}

		// Token: 0x17000B95 RID: 2965
		// (get) Token: 0x0600283E RID: 10302 RVA: 0x0007024F File Offset: 0x0006E44F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DAJHFPCHDMMReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000B96 RID: 2966
		// (get) Token: 0x0600283F RID: 10303 RVA: 0x00070261 File Offset: 0x0006E461
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DAJHFPCHDMM.Descriptor;
			}
		}

		// Token: 0x06002840 RID: 10304 RVA: 0x00070268 File Offset: 0x0006E468
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DAJHFPCHDMM()
		{
		}

		// Token: 0x06002841 RID: 10305 RVA: 0x00070270 File Offset: 0x0006E470
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DAJHFPCHDMM(DAJHFPCHDMM other) : this()
		{
			this.gMCFFIHHAFI_ = ((other.gMCFFIHHAFI_ != null) ? other.gMCFFIHHAFI_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002842 RID: 10306 RVA: 0x000702A5 File Offset: 0x0006E4A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DAJHFPCHDMM Clone()
		{
			return new DAJHFPCHDMM(this);
		}

		// Token: 0x17000B97 RID: 2967
		// (get) Token: 0x06002843 RID: 10307 RVA: 0x000702AD File Offset: 0x0006E4AD
		// (set) Token: 0x06002844 RID: 10308 RVA: 0x000702B5 File Offset: 0x0006E4B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJPDPEIELFN GMCFFIHHAFI
		{
			get
			{
				return this.gMCFFIHHAFI_;
			}
			set
			{
				this.gMCFFIHHAFI_ = value;
			}
		}

		// Token: 0x06002845 RID: 10309 RVA: 0x000702BE File Offset: 0x0006E4BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DAJHFPCHDMM);
		}

		// Token: 0x06002846 RID: 10310 RVA: 0x000702CC File Offset: 0x0006E4CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DAJHFPCHDMM other)
		{
			return other != null && (other == this || (object.Equals(this.GMCFFIHHAFI, other.GMCFFIHHAFI) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002847 RID: 10311 RVA: 0x00070300 File Offset: 0x0006E500
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.gMCFFIHHAFI_ != null)
			{
				num ^= this.GMCFFIHHAFI.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002848 RID: 10312 RVA: 0x0007033C File Offset: 0x0006E53C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002849 RID: 10313 RVA: 0x00070344 File Offset: 0x0006E544
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600284A RID: 10314 RVA: 0x0007034D File Offset: 0x0006E54D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.gMCFFIHHAFI_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.GMCFFIHHAFI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600284B RID: 10315 RVA: 0x00070380 File Offset: 0x0006E580
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.gMCFFIHHAFI_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.GMCFFIHHAFI);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600284C RID: 10316 RVA: 0x000703C0 File Offset: 0x0006E5C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DAJHFPCHDMM other)
		{
			if (other == null)
			{
				return;
			}
			if (other.gMCFFIHHAFI_ != null)
			{
				if (this.gMCFFIHHAFI_ == null)
				{
					this.GMCFFIHHAFI = new OJPDPEIELFN();
				}
				this.GMCFFIHHAFI.MergeFrom(other.GMCFFIHHAFI);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600284D RID: 10317 RVA: 0x00070414 File Offset: 0x0006E614
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600284E RID: 10318 RVA: 0x00070420 File Offset: 0x0006E620
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.gMCFFIHHAFI_ == null)
					{
						this.GMCFFIHHAFI = new OJPDPEIELFN();
					}
					input.ReadMessage(this.GMCFFIHHAFI);
				}
			}
		}

		// Token: 0x04001008 RID: 4104
		private static readonly MessageParser<DAJHFPCHDMM> _parser = new MessageParser<DAJHFPCHDMM>(() => new DAJHFPCHDMM());

		// Token: 0x04001009 RID: 4105
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400100A RID: 4106
		public const int GMCFFIHHAFIFieldNumber = 1;

		// Token: 0x0400100B RID: 4107
		private OJPDPEIELFN gMCFFIHHAFI_;
	}
}
